package net.gxf.calculator;

import java.util.Iterator;
import java.util.Stack;

public class StackUtil {
public static String stackToString(Stack<?> stack){
	StringBuffer buffer = new StringBuffer();
	Iterator<?> it = stack.iterator();
	while(it.hasNext()){
		buffer.append(it.next());
	}
	return buffer.toString();
}
}
